class MyBean implements Serializable {
	def untyped	
	String typed
	def item1, item2
	def assigned = 'default value'
}

def bean = new MyBean()

assert 'default value' == bean.getAssigned()

bean.setUntyped('some value')
assert 'some value' == bean.getUntyped()

bean = new MyBean(typed:'another value')
assert 'another value' == bean.getTyped()
